﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Reap.Common.Runtime.Dependency {
	/// <summary>
	/// 映射特性到类型上装饰方便注入
	/// </summary>
	/// <typeparam name="T">类型的特性</typeparam>
	public class AttributeInfo<T> {

		/// <summary>
		/// 一个属性检索类型描述符
		/// </summary>
		public T Attribute { get; set; }

		/// <summary>
		/// 特定类型特性描述
		/// </summary>
		public Type DecoratedType { get; set; }
	}
}
